package com.woniu.tms.mapper;

import com.woniu.tms.entity.Sickform;
import com.woniu.tms.entity.SickformExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface SickformMapper {
    long countByExample(SickformExample example);

    int deleteByExample(SickformExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(Sickform record);

    int insertSelective(Sickform record);

    List<Sickform> selectByExample(SickformExample example);

    Sickform selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") Sickform record, @Param("example") SickformExample example);

    int updateByExample(@Param("record") Sickform record, @Param("example") SickformExample example);

    int updateByPrimaryKeySelective(Sickform record);

    int updateByPrimaryKey(Sickform record);
}